package com.mentaleye.dal.dao.mybatis;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.mentaleye.dal.dao.SystemLogDao;
import com.mentaleye.dal.model.SystemLog;
import com.mentaleye.dal.service.SystemLogMapper;

@Repository
public class SystemLogDaoImpl implements SystemLogDao {

	@Autowired
	private SystemLogMapper systemLogMapper;

	@Override
	public List<SystemLog> getLogListUniqueByMap(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.systemLogMapper.selectUniqueByMap(map);
	}
	
	@Override
	public List<SystemLog> getLogListByMap(Map<String, Object> map) {
		return this.systemLogMapper.selectByMap(map);
	}
}
